import axios from 'axios';

/**
 * 获取列表
 */
export function getList(payload: any) {
    return axios.post('/api/v1/exchange/list', payload);
}

/**
 * 新增
 */
export function add(payload: any) {
    return axios.post('/api/v1/menu/add', payload);
}

/**
 * 更新
 */
export function update(payload: any) {
    return axios.post('/api/v1/menu/edit', payload);
}
/**
 * 删除
 */
export function del(payload: any) {
    return axios.post('/api/v1/menu/delete', payload);
}
